
import Hongpage from '../view/homepage/index'
import Hot      from '../view/homepage/hot/index.jsx';
import Ranking  from '../view/homepage/ranking/index.jsx';
import Songlist from '../view/homepage/songlist/index.jsx';
import Radio    from '../view/homepage/radio/index.jsx';
import Songmen  from '../view/homepage/songmen/index.jsx';

import homepagestore from '../store/homepage.js'
import list from '../store/play-list.js'
import songman from '../store/songman.js'

export default [
    {
        path: '/*',
        element: <Hongpage homepagestore={homepagestore} />,
        redirect: '/',
        children: [
            { path:'hot',element: <Hot list={list}/>,},
            { path: 'Ranking', element: <Ranking songmanstore={songman} /> },
            { path: 'songlist', element: <Songlist /> },
            { path: 'radio', element: <Radio /> },
            { path: 'songmen', element: <Songmen /> },
        ]
    }
]
